import { ref } from 'vue'

const loading = ref(false)

export function setLoading(newValue) {
  loading.value = newValue
}

export function getLoading() {
  return loading
}

export default loading
